<?php if(!empty($warning)) { ?>
<div class="alert warning">
	<?php echo $warning?>
</div>
<?php } ?>
<?php if(has_error()) { ?>
<div class="alert error">
	<?php echo flash_error()?>
</div>
<?php } ?>
<?php if(has_message()) { ?>
<div class="alert success">
	<?php echo flash_message()?>
</div>
<?php } ?>
<?php if(!empty($info)) { ?>
<div class="alert info">
	<?php echo $info?>
</div>
<?php } ?>
